<?php
class Signups extends Zend_Db_Table_Abstract {
	protected $_name = 'signups';
	//protected $_dependentTables = array();
	protected $_referenceMap = array(
		'Users'		=> 	array(
						'columns' 		=> array('user_id'),
						'refTableClass' => 'Users',
						'refColumns' 	=> array('id')
						),
		'Characters'=> 	array(
						'columns'		=> array('character_id'),
						'refTableClass'	=> 'Characters',
						'refColumns'	=> array('id')
						),
		'Raid'=> 	array(
						'columns'		=> array('raid_id'),
						'refTableClass'	=> 'Raids',
						'refColumns'	=> array('id')
						),
		'RolesRanks'=> 	array(
						'columns'		=> array('character_id','role_id'),
						'refTableClass'	=> 'CharactersRolesRanks',
						'refColumns'	=> array('character_id','role_id')
						),
		'Roles'		=> 	array(
						'columns'		=> array('role_id'),
						'refTableClass'	=> 'Roles',
						'refColumns'	=> array('id')
						)
	);
	public static $STATUS_SIGNED = 1;
	public static $STATUS_CONFIRMED = 2;
	public static $STATUS_UNSIGNED = 3;
	public static $STATUS_UNSIGNED_AFTER_CONFIRMED = 4;
}
?>